package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 选品库表 选品库长度表
 *
 * @author WeiZiDong
 */
@Table(name = "`pms_select_storehouse`")
@Data
@ApiModel("选品库表选品库长度表")
public class PmsSelectStorehouse implements Serializable {
    @Id
    @Column(name = "`id`")
    @ApiModelProperty(value = "id", example = "String")
    private String id;
    @Column(name = "`first_class_id`")
    @ApiModelProperty(value = "一级分类", example = "String")
    private String firstClassId;
    @Column(name = "`second_class_id`")
    @ApiModelProperty(value = "二级分类", example = "String")
    private String secondClassId;
    @Column(name = "`product_name`")
    @ApiModelProperty(value = "产品名称", example = "String")
    private String productName;
    @Column(name = "`main_pic`")
    @ApiModelProperty(value = "产品主图片", example = "String")
    private String mainPic;
    @Column(name = "`album_pics`")
    @ApiModelProperty(value = "产品轮播图", example = "String")
    private String albumPics;
    @Column(name = "`flower_unit`")
    @ApiModelProperty(value = "鲜花单位", example = "String")
    private String flowerUnit;
    @Column(name = "`unit_sum`")
    @ApiModelProperty(value = "每单位数量", example = "1")
    private Integer unitSum;
    @Column(name = "`detail`")
    @ApiModelProperty(value = "商品详情", example = )
    private  detail;
    @Column(name = "`average_price`")
    @ApiModelProperty(value = "市场均价", example = "1")
    private Integer averagePrice;
    @Column(name = "`sort`")
    @ApiModelProperty(value = "排序", example = "1")
    private Integer sort;
    @Column(name = "`publish_status`")
    @ApiModelProperty(value = "上架状态", example = "1")
    private Integer publishStatus;
    @Column(name = "`delete_status`")
    @ApiModelProperty(value = "删除状态0-&gt;未删除；1-&gt;已删除", example = "0")
    private Integer deleteStatus;
    @Column(name = "`revision`")
    @ApiModelProperty(value = "乐观锁", example = "0")
    private Integer revision;
    @Column(name = "`create_by`")
    @ApiModelProperty(value = "创建人", example = "String")
    private String createBy;
    @Column(name = "`create_time`")
    @ApiModelProperty(value = "创建时间", example = "2019-05-05 17:55:31")
    private Date createTime;
    @Column(name = "`update_by`")
    @ApiModelProperty(value = "更新人", example = "String")
    private String updateBy;
    @Column(name = "`update_time`")
    @ApiModelProperty(value = "更新时间", example = "2019-05-05 17:55:31")
    private Date updateTime;

    private static final long serialVersionUID = 1L;
}
